import request from '@/utils/request'

export function sendDanmu({vid,text,time,color,type}) {
    return request.post('danmu/send',{vid,text,time,color,type})
}

export function getDanmu(vid){
    return request.get('danmu/get?vid=' + vid)
}